//package com.shou.trigger.http.mapstruct.response;
//
//import com.shou.api.model.response.UserRes;
//import com.shou.domain.user.model.entity.UserEntity;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//import org.mapstruct.factory.Mappers;
//
//@Mapper
//public interface UserResConvert {
//    UserResConvert INSTANCE = Mappers.getMapper(UserResConvert.class);
//
//    @Mappings(
//            @Mapping(target = "gender", expression = "java(com.shou.domain.user.model.valobj.GenderEnum.getCode(userEntity.getGender()))")
//    )
//    UserRes convertUserEntityToUserReq(UserEntity userEntity);
//}
